﻿using MediatR;
using PLC.Domain.Dto;
using PLC.Domain.Entity;

namespace PLC.Domain.Models;
/// <summary>
/// 发送给mes的数据结构
/// </summary>
public class SendDataModel:INotification
{
    /// <summary>
    /// 状态数据
    /// </summary>
    public List<DeviceStatus> DeviceStatusList { get; set; }=new List<DeviceStatus>();
    /// <summary>
    /// 生产数据
    /// </summary>
    public List<DtoProductionData> DtoProductionDatas { get; set; } = new List<DtoProductionData>();
    /// <summary>
    /// 设备节拍
    /// </summary>
    public List<DeviceBeat> DeviceBeatList { get; set; }= new List<DeviceBeat>();
    /// <summary>
    /// 良品率
    /// </summary>
    public List<YieldRate> DeviceYieldRateList { get; set; } =new List<YieldRate>();
}